% **************************************************************************************************************
% A Classic Thesis Style
% An Homage to The Elements of Typographic Style
%
% Copyright (C) 2012 Andr\'e Miede http://www.miede.de
%
% If you like the style then I would appreciate a postcard. My address 
% can be found in the file ClassicThesis.pdf. A collection of the 
% postcards I received so far is available online at 
% http://postcards.miede.de
%
% License:
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; see the file COPYING.  If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
%
% **************************************************************************************************************
% Note:
%    * You must not use "u etc. in strings/commands that will be spaced out (use \"u or real umlauts instead)
%    * New enumeration (small caps): \begin{aenumerate} \end{aenumerate}
%    * For margin notes: \marginpar or \graffito{}
%    * Do not use bold fonts in this style, it is designed around them
%    * Use tables as in the examples
%    * See classicthesis-preamble.sty for useful commands
% **************************************************************************************************************
% To Do:
%		 * [high] Check this out: http://www.golatex.de/koma-script-warnung-in-verbindung-mit-listings-package-t2058.html
%    * [medium] mathbb in section-titles/chapter-titles => disappears somehow in headlines!!!
% **************************************************************************************************************
\documentclass[ twoside,openright,titlepage,numbers=noenddot,headinclude,%1headlines,% letterpaper a4paper
                footinclude=true,cleardoublepage=empty,abstractoff, % <--- obsolete, remove (todo)
                BCOR=5mm,paper=a4,fontsize=11pt,%11pt,a4paper,%
                ngerman,american,%
                ]{scrreprt}

%********************************************************************
% Note: Make all your adjustments in here
%*******************************************************
\usepackage[backref, backend=biber]{biblatex}
 \addbibresource{Bibliography.bib}	
\input{classicthesis-config}

%********************************************************************
% Hyphenation
%*******************************************************
\hyphenation{Mar-co ap-proa-che-s hy-dro-lo-gi-cal fra-me-d
whi-ch sub-pro-cess-es di-na-mi-che}

\begin{document}
	\numberwithin{equation}{chapter}
	\frenchspacing
	\raggedbottom
	\selectlanguage{american} % american italian
	%\renewcommand*{\bibname}{new name}
	%\setbibpreamble{}
	\pagenumbering{roman}
	\pagestyle{plain}
	%********************************************************************
	% Frontmatter
	%*******************************************************
	% Uncomment the following line to add the ''copertina'' to the pdf (also adds a blank page)
	% \include{FrontBackmatter/Copertina}
	\include{FrontBackmatter/Frontespizio}
	\include{FrontBackmatter/FrontespizioIT}
	\include{FrontBackmatter/RetroFrontespizio}
	\cleardoublepage\include{FrontBackmatter/Dedication}
	% \cleardoublepage\include{FrontBackmatter/Publication} % i don't know if it's useful or not
	
	\cleardoublepage\include{FrontBackmatter/Contents}
	\cleardoublepage\include{FrontBackmatter/Abstract}
	\cleardoublepage\include{FrontBackmatter/Estratto}
	\cleardoublepage\include{FrontBackmatter/Preface}
	\pagestyle{scrheadings}	
		
	%********************************************************************
	% Mainmatter
	%*******************************************************
	\pagenumbering{arabic}
	%\setcounter{page}{90}
	% use \cleardoublepage here to avoid problems with pdfbookmark
	\cleardoublepage
	\ctparttext{This first part of the thesis introduces the theoretical 
	concepts characterizing the study of landscape and river evolution 
	and the framework which was developed within this work.}
	\part{Theory}
	\include{Chapters/Introduction}
	\include{Chapters/LandscapeEvolution}
	\include{Chapters/TestingOptimality}
	
	\cleardoublepage
	\ctparttext{From this point on the work will be detailed in its
	technicalities and its results will be shown. If you are eager
	to find what we have found, jump directly to the conclusions in
	\myChapNoSpace{chap:conclusion}. If you nonetheless decide to
	read the following two chapter, well, we have warned you.}
	\part{Practice}
	\include{Chapters/IstanceOfTheFramework}
	\include{Chapters/SimulationsFindings}
	\include{Chapters/Conclusion} 
	
	% ********************************************************************
	% Backmatter
	%*******************************************************
	\cleardoublepage\include{FrontBackmatter/Bibliography}
	\appendix
	\cleardoublepage
	\part{Appendix}
	\include{Chapters/Appendix}
	\cleardoublepage\include{FrontBackmatter/Acknowledgments}
	\cleardoublepage\include{FrontBackmatter/RingraziamentiAndre}
	%********************************************************************
	% Other Stuff in the Back
	%*******************************************************
	% glossaries
	% drained area
	
\end{document}
% ********************************************************************
